<script setup>
import {useStore} from "vuex";
const store = useStore()
const nick = store.getters.getLogin.nickName
</script>

<template>
    <h2>{{ nick }}, 你好</h2>
    <!--<input v-model="username" /> <br/>-->
    <!--<input v-model="password" /> <br/>-->
    <!--<el-button @click="submit">登录</el-button>-->
</template>

<style scoped>

</style>